/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package riteservices.util;

/**
 *
 * @author sixviv
 */
public class Constantes {
    public final static String TRUE_STR= "La operacion se realizo correctamente";
    public final static String FALSE_STR = "Hubo un error en la operacion";
    public final static int PENDING = 0;
    public final static int APROVE = 1;
    public final static int REJECTED = 2;
    public final static int CANCEL = 3;
    public final static int LEIDA = 0;
    public final static int NO_LEIDA = 1;
    
    public static String getStringRequest(int i){
        String message = "";
        switch(i){
            case PENDING:
                message = "Solicitud pendiente";
                break;
            case APROVE:
                message = "Solicitud aprovada";
                break;
            case REJECTED:
                message = "Solicitud rechazada";
                break;
        }
        return message;
    }
}
